<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: C:/Dvlp/_Perso/QxOrm/include/QxFunction/QxFunction_6.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_qx_function__6_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">QxFunction_6.h</div>  </div>
</div>
<div class="contents">
<a href="_qx_function__6_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/****************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">**</span>
<a name="l00003"></a>00003 <span class="comment">** http://www.qxorm.com/</span>
<a name="l00004"></a>00004 <span class="comment">** Copyright (C) 2013 Lionel Marty (contact@qxorm.com)</span>
<a name="l00005"></a>00005 <span class="comment">**</span>
<a name="l00006"></a>00006 <span class="comment">** This file is part of the QxOrm library</span>
<a name="l00007"></a>00007 <span class="comment">**</span>
<a name="l00008"></a>00008 <span class="comment">** This software is provided &#39;as-is&#39;, without any express or implied</span>
<a name="l00009"></a>00009 <span class="comment">** warranty. In no event will the authors be held liable for any</span>
<a name="l00010"></a>00010 <span class="comment">** damages arising from the use of this software</span>
<a name="l00011"></a>00011 <span class="comment">**</span>
<a name="l00012"></a>00012 <span class="comment">** Commercial Usage</span>
<a name="l00013"></a>00013 <span class="comment">** Licensees holding valid commercial QxOrm licenses may use this file in</span>
<a name="l00014"></a>00014 <span class="comment">** accordance with the commercial license agreement provided with the</span>
<a name="l00015"></a>00015 <span class="comment">** Software or, alternatively, in accordance with the terms contained in</span>
<a name="l00016"></a>00016 <span class="comment">** a written agreement between you and Lionel Marty</span>
<a name="l00017"></a>00017 <span class="comment">**</span>
<a name="l00018"></a>00018 <span class="comment">** GNU General Public License Usage</span>
<a name="l00019"></a>00019 <span class="comment">** Alternatively, this file may be used under the terms of the GNU</span>
<a name="l00020"></a>00020 <span class="comment">** General Public License version 3.0 as published by the Free Software</span>
<a name="l00021"></a>00021 <span class="comment">** Foundation and appearing in the file &#39;license.gpl3.txt&#39; included in the</span>
<a name="l00022"></a>00022 <span class="comment">** packaging of this file. Please review the following information to</span>
<a name="l00023"></a>00023 <span class="comment">** ensure the GNU General Public License version 3.0 requirements will be</span>
<a name="l00024"></a>00024 <span class="comment">** met : http://www.gnu.org/copyleft/gpl.html</span>
<a name="l00025"></a>00025 <span class="comment">**</span>
<a name="l00026"></a>00026 <span class="comment">** If you are unsure which license is appropriate for your use, or</span>
<a name="l00027"></a>00027 <span class="comment">** if you have questions regarding the use of this file, please contact :</span>
<a name="l00028"></a>00028 <span class="comment">** contact@qxorm.com</span>
<a name="l00029"></a>00029 <span class="comment">**</span>
<a name="l00030"></a>00030 <span class="comment">****************************************************************************/</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#ifndef _QX_FUNCTION_6_H_</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define _QX_FUNCTION_6_H_</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#pragma once</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00046"></a>00046 <span class="preprocessor">#include &lt;<a class="code" href="_ix_function_8h.html" title="Common interface for all functions registered into QxOrm context (used by introspection engine)...">QxFunction/IxFunction.h</a>&gt;</span>
<a name="l00047"></a>00047 <span class="preprocessor">#include &lt;<a class="code" href="_qx_parameters_8h.html" title="qx::function::detail::get_param_X() : provide some helper functions to retrieve parameters for all qx...">QxFunction/QxParameters.h</a>&gt;</span>
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="keyword">namespace </span>qx {
<a name="l00050"></a>00050 
<a name="l00055"></a>00055 <span class="keyword">template</span> &lt;<span class="keyword">class</span> Owner, <span class="keyword">typename</span> R, <span class="keyword">typename</span> P1, <span class="keyword">typename</span> P2, <span class="keyword">typename</span> P3, <span class="keyword">typename</span> P4, <span class="keyword">typename</span> P5, <span class="keyword">typename</span> P6&gt;
<a name="l00056"></a><a class="code" href="classqx_1_1_qx_function__6.html">00056</a> <span class="keyword">class </span><a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6</a> : <span class="keyword">public</span> <a class="code" href="classqx_1_1_ix_function.html" title="qx::IxFunction : common interface for all functions registered into QxOrm context (used by introspect...">IxFunction</a>
<a name="l00057"></a>00057 {
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 <span class="keyword">public</span>:
<a name="l00060"></a>00060 
<a name="l00061"></a><a class="code" href="classqx_1_1_qx_function__6.html#a0d896b335f531ca0184e0111a13d97fc">00061</a>    <span class="keyword">typedef</span> boost::function&lt;R (Owner *, P1, P2, P3, P4, P5, P6)&gt; <a class="code" href="classqx_1_1_qx_function__6.html#a0d896b335f531ca0184e0111a13d97fc">type_fct</a>;
<a name="l00062"></a><a class="code" href="classqx_1_1_qx_function__6.html#a098482839936788d2a1a17a7bb1653c7">00062</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P1, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6.html#a098482839936788d2a1a17a7bb1653c7">type_P1</a>;
<a name="l00063"></a><a class="code" href="classqx_1_1_qx_function__6.html#ae536d7db26ddea54e04c0b1fc1506721">00063</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P2, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6.html#ae536d7db26ddea54e04c0b1fc1506721">type_P2</a>;
<a name="l00064"></a><a class="code" href="classqx_1_1_qx_function__6.html#ab3597edd9a1529e6aee93ae7df4742ce">00064</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P3, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6.html#ab3597edd9a1529e6aee93ae7df4742ce">type_P3</a>;
<a name="l00065"></a><a class="code" href="classqx_1_1_qx_function__6.html#a4c34c2eac5e1e8fde8a5789fc15e5825">00065</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P4, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6.html#a4c34c2eac5e1e8fde8a5789fc15e5825">type_P4</a>;
<a name="l00066"></a><a class="code" href="classqx_1_1_qx_function__6.html#a860abe5f5ba9f13cd4002066940c49c7">00066</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P5, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6.html#a860abe5f5ba9f13cd4002066940c49c7">type_P5</a>;
<a name="l00067"></a><a class="code" href="classqx_1_1_qx_function__6.html#aa8f113cea3e3060fb59a9ff6e57d3b75">00067</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P6, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6.html#aa8f113cea3e3060fb59a9ff6e57d3b75">type_P6</a>;
<a name="l00068"></a>00068    <a class="code" href="classqx_1_1_qx_function__6.html#aadc9c8781e0637c911075cf08b4cecfb">QX_FUNCTION_CLASS_MEMBER_FCT</a>(<a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6</a>);
<a name="l00069"></a>00069 
<a name="l00070"></a><a class="code" href="classqx_1_1_qx_function__6.html#aed2a47b542623af89bc71b29b6003e41">00070</a>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classqx_1_1_qx_function__6.html#aed2a47b542623af89bc71b29b6003e41">getParamCount</a>()<span class="keyword"> const                                    </span>{ <span class="keywordflow">return</span> 6; }
<a name="l00071"></a><a class="code" href="classqx_1_1_qx_function__6.html#a674a1576254ce15a95e36cc3990cfff7">00071</a>    <span class="keyword">virtual</span> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="classqx_1_1_qx_function__6.html#a674a1576254ce15a95e36cc3990cfff7">isValidParams</a>(<span class="keyword">const</span> QString &amp; params)<span class="keyword"> const          </span>{ Q_UNUSED(params); <span class="keywordflow">return</span> <span class="keyword">true</span>; }
<a name="l00072"></a><a class="code" href="classqx_1_1_qx_function__6.html#a915fba5943704ae9d8294d5aa6984601">00072</a>    <span class="keyword">virtual</span> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="classqx_1_1_qx_function__6.html#a915fba5943704ae9d8294d5aa6984601">isValidParams</a>(<span class="keyword">const</span> <a class="code" href="classqx_1_1_ix_function.html#a53d1eb72393b4a5dbe13656cf511e13b">type_any_params</a> &amp; params)<span class="keyword"> const  </span>{ Q_UNUSED(params); <span class="keywordflow">return</span> <span class="keyword">true</span>; }
<a name="l00073"></a>00073 
<a name="l00074"></a>00074 <span class="keyword">private</span>:
<a name="l00075"></a>00075 
<a name="l00076"></a>00076    <span class="keyword">template</span> &lt;<span class="keyword">class </span>T, <span class="keywordtype">bool</span> bReturnValue <span class="comment">/* = false */</span>&gt;
<a name="l00077"></a><a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct.html">00077</a>    <span class="keyword">struct </span><a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct.html">QxInvokerFct</a>
<a name="l00078"></a>00078    {
<a name="l00079"></a><a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct.html#a7efd487a3b627d5ec1b42f43c4df6f94">00079</a>       <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct.html#a7efd487a3b627d5ec1b42f43c4df6f94">invoke</a>(<span class="keywordtype">void</span> * pOwner, <span class="keyword">const</span> T &amp; params, boost::any * ret, <span class="keyword">const</span> <a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6</a> * pThis)
<a name="l00080"></a>00080       {
<a name="l00081"></a>00081          <a class="code" href="_qx_function_macro_8h.html#a52ebd039b37e235c4ae4c814b6e6c184">QX_FUNCTION_INVOKE_START_WITH_OWNER</a>();
<a name="l00082"></a>00082          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#a098482839936788d2a1a17a7bb1653c7">type_P1</a>, p1, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a2e7cb153e69083dc6450aa151d51448f">get_param_1</a>);
<a name="l00083"></a>00083          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#ae536d7db26ddea54e04c0b1fc1506721">type_P2</a>, p2, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a4b79a952cf627c3c76897224910d5866">get_param_2</a>);
<a name="l00084"></a>00084          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#ab3597edd9a1529e6aee93ae7df4742ce">type_P3</a>, p3, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a87e0a71b36ad33d30bb88c2eea35862f">get_param_3</a>);
<a name="l00085"></a>00085          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#a4c34c2eac5e1e8fde8a5789fc15e5825">type_P4</a>, p4, <a class="code" href="namespaceqx_1_1function_1_1detail.html#ad9367e971eddef0afca886b8f65f8d60">get_param_4</a>);
<a name="l00086"></a>00086          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#a860abe5f5ba9f13cd4002066940c49c7">type_P5</a>, p5, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a3917bcb7b260904b256949919071c254">get_param_5</a>);
<a name="l00087"></a>00087          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#aa8f113cea3e3060fb59a9ff6e57d3b75">type_P6</a>, p6, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a8ca056cde057827169667124bc2b8570">get_param_6</a>);
<a name="l00088"></a>00088          <span class="keywordflow">try</span> { pThis-&gt;m_fct(static_cast&lt;Owner *&gt;(pOwner), p1, p2, p3, p4, p5, p6); }
<a name="l00089"></a>00089          <a class="code" href="_qx_function_macro_8h.html#a7ac13e5fed845598d25afa1a9a1900bb">QX_FUNCTION_CATCH_AND_RETURN_INVOKE</a>();
<a name="l00090"></a>00090       }
<a name="l00091"></a>00091    };
<a name="l00092"></a>00092 
<a name="l00093"></a>00093    <span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;
<a name="l00094"></a><a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct_3_01_t_00_01true_01_4.html">00094</a>    <span class="keyword">struct </span><a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct.html">QxInvokerFct</a>&lt;T, true&gt;
<a name="l00095"></a>00095    {
<a name="l00096"></a><a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct_3_01_t_00_01true_01_4.html#a535e1aa24141f19b3e609ee90d955e03">00096</a>       <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct.html#a7efd487a3b627d5ec1b42f43c4df6f94">invoke</a>(<span class="keywordtype">void</span> * pOwner, <span class="keyword">const</span> T &amp; params, boost::any * ret, <span class="keyword">const</span> <a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6</a> * pThis)
<a name="l00097"></a>00097       {
<a name="l00098"></a>00098          <a class="code" href="_qx_function_macro_8h.html#a52ebd039b37e235c4ae4c814b6e6c184">QX_FUNCTION_INVOKE_START_WITH_OWNER</a>();
<a name="l00099"></a>00099          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#a098482839936788d2a1a17a7bb1653c7">type_P1</a>, p1, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a2e7cb153e69083dc6450aa151d51448f">get_param_1</a>);
<a name="l00100"></a>00100          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#ae536d7db26ddea54e04c0b1fc1506721">type_P2</a>, p2, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a4b79a952cf627c3c76897224910d5866">get_param_2</a>);
<a name="l00101"></a>00101          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#ab3597edd9a1529e6aee93ae7df4742ce">type_P3</a>, p3, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a87e0a71b36ad33d30bb88c2eea35862f">get_param_3</a>);
<a name="l00102"></a>00102          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#a4c34c2eac5e1e8fde8a5789fc15e5825">type_P4</a>, p4, <a class="code" href="namespaceqx_1_1function_1_1detail.html#ad9367e971eddef0afca886b8f65f8d60">get_param_4</a>);
<a name="l00103"></a>00103          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#a860abe5f5ba9f13cd4002066940c49c7">type_P5</a>, p5, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a3917bcb7b260904b256949919071c254">get_param_5</a>);
<a name="l00104"></a>00104          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6.html#aa8f113cea3e3060fb59a9ff6e57d3b75">type_P6</a>, p6, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a8ca056cde057827169667124bc2b8570">get_param_6</a>);
<a name="l00105"></a>00105          <span class="keywordflow">try</span> { R retTmp = pThis-&gt;m_fct(static_cast&lt;Owner *&gt;(pOwner), p1, p2, p3, p4, p5, p6); <span class="keywordflow">if</span> (ret) { (* ret) = boost::any(retTmp); } }
<a name="l00106"></a>00106          <a class="code" href="_qx_function_macro_8h.html#a7ac13e5fed845598d25afa1a9a1900bb">QX_FUNCTION_CATCH_AND_RETURN_INVOKE</a>();
<a name="l00107"></a>00107       }
<a name="l00108"></a>00108    };
<a name="l00109"></a>00109 
<a name="l00110"></a>00110 };
<a name="l00111"></a>00111 
<a name="l00112"></a>00112 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> R, <span class="keyword">typename</span> P1, <span class="keyword">typename</span> P2, <span class="keyword">typename</span> P3, <span class="keyword">typename</span> P4, <span class="keyword">typename</span> P5, <span class="keyword">typename</span> P6&gt;
<a name="l00113"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html">00113</a> <span class="keyword">class </span><a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6</a>&lt;void, R, P1, P2, P3, P4, P5, P6&gt; : <span class="keyword">public</span> <a class="code" href="classqx_1_1_ix_function.html" title="qx::IxFunction : common interface for all functions registered into QxOrm context (used by introspect...">IxFunction</a>
<a name="l00114"></a>00114 {
<a name="l00115"></a>00115 
<a name="l00116"></a>00116 <span class="keyword">public</span>:
<a name="l00117"></a>00117 
<a name="l00118"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#ae18e8e544851c6ee9603d146861cfb31">00118</a>    <span class="keyword">typedef</span> boost::function&lt;R (P1, P2, P3, P4, P5, P6)&gt; <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#ae18e8e544851c6ee9603d146861cfb31">type_fct</a>;
<a name="l00119"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#adcd6f95f079d74cc2da28c5ae6425225">00119</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P1, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#adcd6f95f079d74cc2da28c5ae6425225">type_P1</a>;
<a name="l00120"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a5e99862f1e483fefd65d5b1684cd406d">00120</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P2, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a5e99862f1e483fefd65d5b1684cd406d">type_P2</a>;
<a name="l00121"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a001af53742baa4c87fb33b7a6d99058e">00121</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P3, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a001af53742baa4c87fb33b7a6d99058e">type_P3</a>;
<a name="l00122"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a2a54223b2999a527ad58f54ebd2fe880">00122</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P4, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a2a54223b2999a527ad58f54ebd2fe880">type_P4</a>;
<a name="l00123"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a530c344b9a82f7433cc199d75d02ba6c">00123</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P5, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a530c344b9a82f7433cc199d75d02ba6c">type_P5</a>;
<a name="l00124"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a63d35d582e8ba8dc51cb2ea8012e4024">00124</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;P6, false&gt;::type</a> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a63d35d582e8ba8dc51cb2ea8012e4024">type_P6</a>;
<a name="l00125"></a>00125    <a class="code" href="_qx_function_macro_8h.html#ae4c33b7e12dab68fc24e2a9f1e97e91a">QX_FUNCTION_CLASS_FCT</a>(<a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6</a>);
<a name="l00126"></a>00126 
<a name="l00127"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a53b2443d40f8b0b6eff6d5f911dfb8d0">00127</a>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a53b2443d40f8b0b6eff6d5f911dfb8d0">getParamCount</a>()<span class="keyword"> const                                    </span>{ <span class="keywordflow">return</span> 6; }
<a name="l00128"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a1bc1f61fe9f0e66aad8a67604694e542">00128</a>    <span class="keyword">virtual</span> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a1bc1f61fe9f0e66aad8a67604694e542">isValidParams</a>(<span class="keyword">const</span> QString &amp; params)<span class="keyword"> const          </span>{ Q_UNUSED(params); <span class="keywordflow">return</span> <span class="keyword">true</span>; }
<a name="l00129"></a><a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a3a9b3b30d45f1959d06e75299bb04970">00129</a>    <span class="keyword">virtual</span> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a3a9b3b30d45f1959d06e75299bb04970">isValidParams</a>(<span class="keyword">const</span> <a class="code" href="classqx_1_1_ix_function.html#a53d1eb72393b4a5dbe13656cf511e13b">type_any_params</a> &amp; params)<span class="keyword"> const  </span>{ Q_UNUSED(params); <span class="keywordflow">return</span> <span class="keyword">true</span>; }
<a name="l00130"></a>00130 
<a name="l00131"></a>00131 <span class="keyword">private</span>:
<a name="l00132"></a>00132 
<a name="l00133"></a>00133    <span class="keyword">template</span> &lt;<span class="keyword">class </span>T, <span class="keywordtype">bool</span> bReturnValue <span class="comment">/* = false */</span>&gt;
<a name="l00134"></a><a class="code" href="structqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4_1_1_qx_invoker_fct.html">00134</a>    <span class="keyword">struct </span>QxInvokerFct
<a name="l00135"></a>00135    {
<a name="l00136"></a><a class="code" href="structqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4_1_1_qx_invoker_fct.html#a2fe99c973786a4aaeb5ee330fbfc3734">00136</a>       <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct.html#a7efd487a3b627d5ec1b42f43c4df6f94">invoke</a>(<span class="keyword">const</span> T &amp; params, boost::any * ret, <span class="keyword">const</span> <a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6</a> * pThis)
<a name="l00137"></a>00137       {
<a name="l00138"></a>00138          <a class="code" href="_qx_function_macro_8h.html#a14ba418335dc5e08e2b06fc8fdb71d37">QX_FUNCTION_INVOKE_START_WITHOUT_OWNER</a>();
<a name="l00139"></a>00139          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#adcd6f95f079d74cc2da28c5ae6425225">type_P1</a>, p1, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a2e7cb153e69083dc6450aa151d51448f">get_param_1</a>);
<a name="l00140"></a>00140          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a5e99862f1e483fefd65d5b1684cd406d">type_P2</a>, p2, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a4b79a952cf627c3c76897224910d5866">get_param_2</a>);
<a name="l00141"></a>00141          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a001af53742baa4c87fb33b7a6d99058e">type_P3</a>, p3, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a87e0a71b36ad33d30bb88c2eea35862f">get_param_3</a>);
<a name="l00142"></a>00142          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a2a54223b2999a527ad58f54ebd2fe880">type_P4</a>, p4, <a class="code" href="namespaceqx_1_1function_1_1detail.html#ad9367e971eddef0afca886b8f65f8d60">get_param_4</a>);
<a name="l00143"></a>00143          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a530c344b9a82f7433cc199d75d02ba6c">type_P5</a>, p5, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a3917bcb7b260904b256949919071c254">get_param_5</a>);
<a name="l00144"></a>00144          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a63d35d582e8ba8dc51cb2ea8012e4024">type_P6</a>, p6, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a8ca056cde057827169667124bc2b8570">get_param_6</a>);
<a name="l00145"></a>00145          <span class="keywordflow">try</span> { pThis-&gt;m_fct(p1, p2, p3, p4, p5, p6); }
<a name="l00146"></a>00146          <a class="code" href="_qx_function_macro_8h.html#a7ac13e5fed845598d25afa1a9a1900bb">QX_FUNCTION_CATCH_AND_RETURN_INVOKE</a>();
<a name="l00147"></a>00147       }
<a name="l00148"></a>00148    };
<a name="l00149"></a>00149 
<a name="l00150"></a>00150    <span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;
<a name="l00151"></a><a class="code" href="structqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_716cd2a79dfdc585d9b5dd876fe40159.html">00151</a>    <span class="keyword">struct </span>QxInvokerFct&lt;T, true&gt;
<a name="l00152"></a>00152    {
<a name="l00153"></a><a class="code" href="structqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_716cd2a79dfdc585d9b5dd876fe40159.html#aec91eaaea1611ffa3b3e6dbeb21599a8">00153</a>       <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="structqx_1_1_qx_function__6_1_1_qx_invoker_fct.html#a7efd487a3b627d5ec1b42f43c4df6f94">invoke</a>(<span class="keyword">const</span> T &amp; params, boost::any * ret, <span class="keyword">const</span> <a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6</a> * pThis)
<a name="l00154"></a>00154       {
<a name="l00155"></a>00155          <a class="code" href="_qx_function_macro_8h.html#a14ba418335dc5e08e2b06fc8fdb71d37">QX_FUNCTION_INVOKE_START_WITHOUT_OWNER</a>();
<a name="l00156"></a>00156          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#adcd6f95f079d74cc2da28c5ae6425225">type_P1</a>, p1, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a2e7cb153e69083dc6450aa151d51448f">get_param_1</a>);
<a name="l00157"></a>00157          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a5e99862f1e483fefd65d5b1684cd406d">type_P2</a>, p2, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a4b79a952cf627c3c76897224910d5866">get_param_2</a>);
<a name="l00158"></a>00158          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a001af53742baa4c87fb33b7a6d99058e">type_P3</a>, p3, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a87e0a71b36ad33d30bb88c2eea35862f">get_param_3</a>);
<a name="l00159"></a>00159          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a2a54223b2999a527ad58f54ebd2fe880">type_P4</a>, p4, <a class="code" href="namespaceqx_1_1function_1_1detail.html#ad9367e971eddef0afca886b8f65f8d60">get_param_4</a>);
<a name="l00160"></a>00160          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a530c344b9a82f7433cc199d75d02ba6c">type_P5</a>, p5, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a3917bcb7b260904b256949919071c254">get_param_5</a>);
<a name="l00161"></a>00161          <a class="code" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(<a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html#a63d35d582e8ba8dc51cb2ea8012e4024">type_P6</a>, p6, <a class="code" href="namespaceqx_1_1function_1_1detail.html#a8ca056cde057827169667124bc2b8570">get_param_6</a>);
<a name="l00162"></a>00162          <span class="keywordflow">try</span> { R retTmp = pThis-&gt;m_fct(p1, p2, p3, p4, p5, p6); <span class="keywordflow">if</span> (ret) { (* ret) = boost::any(retTmp); } }
<a name="l00163"></a>00163          <a class="code" href="_qx_function_macro_8h.html#a7ac13e5fed845598d25afa1a9a1900bb">QX_FUNCTION_CATCH_AND_RETURN_INVOKE</a>();
<a name="l00164"></a>00164       }
<a name="l00165"></a>00165    };
<a name="l00166"></a>00166 
<a name="l00167"></a>00167 };
<a name="l00168"></a>00168 
<a name="l00169"></a>00169 <span class="keyword">namespace </span>function {
<a name="l00170"></a>00170 
<a name="l00171"></a>00171 <span class="keyword">template</span> &lt;<span class="keyword">class</span> Owner, <span class="keyword">typename</span> R, <span class="keyword">typename</span> P1, <span class="keyword">typename</span> P2, <span class="keyword">typename</span> P3, <span class="keyword">typename</span> P4, <span class="keyword">typename</span> P5, <span class="keyword">typename</span> P6&gt;
<a name="l00172"></a><a class="code" href="namespaceqx_1_1function.html#af5e1c03157e99da6b83193f0fbd15fee">00172</a> <a class="code" href="namespaceqx.html#a810d49396956ace0fa67b5f2e18b88d0">IxFunction_ptr</a> <a class="code" href="namespaceqx_1_1function.html#af5e1c03157e99da6b83193f0fbd15fee">bind_fct_6</a>(<span class="keyword">const</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt;::type_fct</a> &amp; fct)
<a name="l00173"></a>00173 {
<a name="l00174"></a>00174    <span class="keyword">typedef</span> boost::is_same&lt;Owner, void&gt; qx_verify_owner_tmp;
<a name="l00175"></a>00175    BOOST_STATIC_ASSERT(qx_verify_owner_tmp::value);
<a name="l00176"></a>00176    <a class="code" href="namespaceqx.html#a810d49396956ace0fa67b5f2e18b88d0">IxFunction_ptr</a> ptr; ptr.reset(<span class="keyword">new</span> <a class="code" href="classqx_1_1_qx_function__6_3_01void_00_01_r_00_01_p1_00_01_p2_00_01_p3_00_01_p4_00_01_p5_00_01_p6_01_4.html">QxFunction_6&lt;void, R, P1, P2, P3, P4, P5, P6&gt;</a>(fct));
<a name="l00177"></a>00177    <span class="keywordflow">return</span> ptr;
<a name="l00178"></a>00178 }
<a name="l00179"></a>00179 
<a name="l00180"></a>00180 <span class="keyword">template</span> &lt;<span class="keyword">class</span> Owner, <span class="keyword">typename</span> R, <span class="keyword">typename</span> P1, <span class="keyword">typename</span> P2, <span class="keyword">typename</span> P3, <span class="keyword">typename</span> P4, <span class="keyword">typename</span> P5, <span class="keyword">typename</span> P6&gt;
<a name="l00181"></a><a class="code" href="namespaceqx_1_1function.html#ad3537c87664fa6819211828a0b6c9eab">00181</a> <a class="code" href="namespaceqx.html#a810d49396956ace0fa67b5f2e18b88d0">IxFunction_ptr</a> <a class="code" href="namespaceqx_1_1function.html#ad3537c87664fa6819211828a0b6c9eab">bind_member_fct_6</a>(<span class="keyword">const</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt;::type_fct</a> &amp; fct)
<a name="l00182"></a>00182 {
<a name="l00183"></a>00183    <span class="keyword">typedef</span> boost::is_same&lt;Owner, void&gt; qx_verify_owner_tmp;
<a name="l00184"></a>00184    BOOST_STATIC_ASSERT(! qx_verify_owner_tmp::value);
<a name="l00185"></a>00185    <a class="code" href="namespaceqx.html#a810d49396956ace0fa67b5f2e18b88d0">IxFunction_ptr</a> ptr; ptr.reset(<span class="keyword">new</span> <a class="code" href="classqx_1_1_qx_function__6.html" title="qx::QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt; : concrete function registered into QxOrm context ...">QxFunction_6&lt;Owner, R, P1, P2, P3, P4, P5, P6&gt;</a>(fct));
<a name="l00186"></a>00186    <span class="keywordflow">return</span> ptr;
<a name="l00187"></a>00187 }
<a name="l00188"></a>00188 
<a name="l00189"></a>00189 } <span class="comment">// namespace function</span>
<a name="l00190"></a>00190 } <span class="comment">// namespace qx</span>
<a name="l00191"></a>00191 
<a name="l00192"></a>00192 <span class="preprocessor">#endif // _QX_FUNCTION_6_H_</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_qx_function__6_8h.html">QxFunction_6.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:04 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
